package ModelLayer;

import java.util.ArrayList;
import java.util.Date;

public class Room {
	private int Id;
	private String name;
	private RoomType roomType;
	private Date endDate;
	private KeyWord status;
	private ArrayList<Guest> guests;

	public Room() {
		setStatus(KeyWord.ToClean);
		guests = new ArrayList<Guest>();
	}

	public Room(int Id) {
		this.Id = Id;
	}

	public void addOccupant(Guest guest) {
		guests.add(guest);
	}

	public void removeOccupant(Guest guest) {
		guests.remove(guest);
	}

	public int getId() {
		return Id;
	}

	public ArrayList<Guest> getGuests() {
		return guests;
	}

	public void setGuests(ArrayList<Guest> guests) {
		this.guests = guests;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public KeyWord getStatus() {
		return status;
	}

	public void setStatus(KeyWord status) {
		this.status = status;
	}

	public void setId(int iD) {
		Id = iD;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public RoomType getRoomType() {
		return roomType;
	}

	public void setRoomType(RoomType roomType) {
		this.roomType = roomType;
	}

}